-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: remove trailing commas from keystore json #2200
Conversation
waku/waku_keystore/keyfile.nim
Outdated
json.add("id", %($u)) | ||
if VersionInKeyfile: | ||
json.add("version", %version) | ||
let json = %* ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dunno if it the best way to address it 🤷♂️
You can find the image built from this PR at
Built from b6fa913 |
Can @rymnc have a look? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will look at an alternative in some time!
@rymnc what are alternatives you are looking at? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, if you can get checks to pass!
@alrevuelta any comments from you? |
No strong opinion as long as it's backward compatible. Delegating on @rymnc since its the code owner.
Might be worth adding why doing so. Not very clear to me. |
Here is explanation ser - waku-org/js-rln#80 (comment) |
Is that the case @rymnc. ?Will be break backward compatibility with old keystores? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving, ensure CI passes and existing keystores are compatible with this new changes.
… weboko/keystore-json
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thanks for it :)!
Just added a minor nitpick comment
Description
In this PR I remove trailing commas from Keystore
json
.How to test
Tests essentially do not change as it is not a breaking change from
nwaku
standpoint.Issue
closes waku-org/js-rln#80